
#ifndef BAMMULTI_H
#define BAMMULTI_H


#include <htslib/sam.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "kvec.h"

void  coreInit(char *fn,char *temp , int n );



void core_destory();


void readBam2Vector( char *fn , int n_threads );

void  Runsort( char  *outputBam ,  char * temp ,int n_threads  );
#endif
